import axios from "axios";
import Vue from "vue";

// 添加一个响应拦截器，只获取 data 属性内的数据
axios.interceptors.response.use((response) => {
    return response.data;
});

Vue.prototype.$http = axios;
